//
//  MessageModel.h
//  CarTown
//
//  Created by xionghao on 15/8/15.
//  Copyright (c) 2015年 熊浩. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef enum {
    MessageTexttype,
    MessageImagetype
}Messagetype;

typedef enum {
    MessageSendType,
    MessageReceiveType
}MessageFromType;

@interface MessageModel : NSObject
@property (nonatomic,copy) NSString *username;
@property (nonatomic,copy) NSString *detail;
@property (nonatomic,copy) NSString *time;
@property (nonatomic,copy) NSString *iconurl;
@property (nonatomic,copy) NSString *imgurl;
@property (nonatomic,assign) Messagetype messageType;
@property (nonatomic,assign) MessageFromType receType;
@end
